Bug 535608 – do not string-copy accel paths in the menu code
authorChristian Persch <chpe@src.gnome.org>
Sat, 7 Jun 2008 20:40:20 +0000 (20:40 +0000)
committerChristian Persch <chpe@src.gnome.org>
Sat, 7 Jun 2008 20:40:20 +0000 (20:40 +0000)
commitdcc94280362d27cb980bfb8e5a3b1db40874a027
tree5605939127d36993c90f7e3840b039521d5b4981
parente2642ac9d2d4652e7583ff8962896c6b9dd3ac5f
Bug 535608 – do not string-copy accel paths in the menu code

Don't store the accel path as a string in gtkmenu/gtkmenuitem.
The accel path will be interned anyway, so keeping a string copy around
is just a waste of memory.
Improve the documentation to mention this.

svn path=/trunk/; revision=20331
ChangeLog
gtk/gtkaccelgroup.c
gtk/gtkaccelmap.c
gtk/gtkaction.c
gtk/gtkmenu.c
gtk/gtkmenuitem.c
gtk/gtkwidget.c